package com.Test.SportsPerson;

public class BasketballCoach extends Person {
    public BasketballCoach(String name, int age) {
        super(name, age);
    }

    public BasketballCoach() {
    }
    public void play(Person person) {
        System.out.println(person.getName() + " 教打篮球");
    }
}
